package javalearning.MultiThreads.demotest;

public class ThreadTest {
    public static void main(String[] args) {
        System.out.println("begins");
        ThreadControl t1 = new ThreadControl();
        ThreadControl t2 = new ThreadControl();
        ThreadControl t3 = new ThreadControl();
//        t1.setName("南京");
//        t2.setName("山东");
//        t3.setName("日照");
        t1.start();
        t2.start();
        t3.start();
    }
}
